work on bounding box in fitness function