Fixing Grid.generateRoots params.