Fix the function isOutofrange

isOutofrange in previous version didn't take reserveMB='xxxM' into
consideration. so isOutofrange will always return True.