Indirect block indexing in createDirEntry() and getCurrentBlock()