zkw segment tree