Manually written Transformable instance for SegTree