The memory management is presented in figure with the example of link arrays. Each first entry is used for backward links. The data structure of site arrays is similar.
Figure: Link arrays