added --hmin and --hmax