BUGs fixed, all tests passing on segment tree with lazy propagation