Add bounds for shapes.