Prevent crashing if there is no vectors for center.
Fix horizontal dividing of shapes (concat groups with common group_number).