Currently commitment mapper tree uses some weird indexing schema it will be better to use generalized indices like in ssz
https://ethereum.org/en/developers/docs/data-structures-and-encoding/ssz/#generalized-indices
This change also applies to the balance_verification tree