Y and Z atoms in a cubic lattice with X atoms occupying the corners