  Entanglement renormalization group flow of the Haah cubic code produces
another fracton model with 4 qubits per lattice site, dubbed as the Haah
B-code. We provide a schema that generalizes both models to stabilizer codes on
any finite group with 2q qubits per site and labeled by multi-subsets of the
finite group and a symmetric binary matrix.
