ngrid sizes are printed to stdout