Factoring out boundary_finder superclass.