Working on generic, parallel grid generation