Replying to @fermatslibraryThe 8 corners can be arranged in 8! ways, where each has 3 possible orientations, 3^7, because the 8th can be determined from the last 7). There are 12! arrangements for the corners (divided by 2 to line up with corners), each with two orientations, 2^(12-1), as before.