Text this: Auto generation of the center of gravity of tubular structures during crush deformation