Lazily updated Segment Tree, Heavily tested yet WA