Implementation of FMAP and HMAP

Figure 12.3 Implementation of FMAP and HMAP