move things to [others]
implemented segtree
deleted duplicates