fixed range comparing numbers on range table