Renamed center2beam to center_to_beam