turned GridSearch into a static 6D generator, will have a look later to improve...