debug getBounds