Segment Tree with lazy propogation