Chunk generation fully working