bug found cause no the real upper bound and lower bound