Grid generation functional again.