increase the range for the pixel grid threshold (by request)
(cherry picked from commit c3a2985dd60f7ae369f9d67e453ffaaafaafc828) (cherry picked from commit 475a645b221dbae49ee845d2b4c4c19e15569c5d)