introducing bounding box, necessary for alignement and scaling