hash grid implemented