Made fn_adjustRange prettier.