Sri Lanka build lead as Jayasuriya calls time