Added usefull scale_to_fit_width and scale_to_fit_height methods to ShapesSet and used them in places where order token needs to be adjusted.