automatic diameter upper limit when fitting