Extracted step2 to BinaryGroupTable.js