some segment tree has been writteen...