determine a tolerance range