Any advantage of having chunks with sizes by the power of two? With my past experience of having my little game lag because of the size of the world, I have decided that in whatever next project I might choose to create, I will split said world into chunks. Now here comes my question Should the chunk's width, height and depth be a power of two? For example, in a little game called Minecraft, chunks have a height of 256 and width,depth of 16. Both numbers a power of two. Is there any advantage over having the chunk simply be 100x100x100? Minecraft was written in Java, but I'm working in Lua. Just pointing that out in case it has any relevance.