Moved middle_line calculation out of find to the class. Call middle_line method in find instead.