optimise use of grid-core with different params