record last position and bounds.