Fix grid hash weights.