Extend ShaMapLeafNode and ShaMapInnerNode from abstract class ShaMapNode