Separated CornerFinder from Sequential code.