introduced basic overlap checking (bounding box)