make upper limit calculator optional