calculate frame_num for recovery point "keyframe"