finished writing the box-in-box detection code