move computation of start/end in constructor + set them as property to save computation time