pass the weak test, to learn segment tree