private void ToggleLeaf(LeafPosition position) => Leafs ^= (int)position;
private void SetLeafAlive(LeafPosition position) => Leafs |= (int)position;
private void SetLeafDead(LeafPosition position) => Leafs &= ~(int)position;
private bool IsLeafPopulated(LeafPosition position) => (Leafs & (int)position) > 0;