Reorganize block IDs