merging keyframe_loop_mapper into keyframe_mapper