Edge and Point ID Packing Scheme: We use a bit-packing scheme to generate unique int64 IDs for grid points and canonical BCC edges. This is adapted from the scheme used by MarchingCubes.h, extended to handle the BCC grid's diagonals and center points.