added box, changed compound.get_bounds