implementing bounding box with spray proportional and stretch features