On multivariate polynomials with many roots over a finite grid