Several changes to getSlice in LazyTree are implemented. Some
modifications are needed. Should be implemented in next commit.