Changed the point_of_replay calculation