Finished the breadth first bounding region search on the first derrivative image.