some modification to Candidate.hpp to adjust the boundingbox