conformRect

moved more code into its own protected function