Fix problems with speed in the find_region method