[INTERNAL] hash grid construction fixed