Check the position index when getting the block.