Reconstruct the index of instructions in block