Remove vestigial code from the previous attempt at clever grid generation. Grid generation should now be orders of magnitude faster at large sizes. [originally from svn r4220]