Improving performance of world generation.