tolerate incorrect last boundary
test cases on incorrect boundary