Changed grid_min_freq to default to 0. Changed means_dict to only have words >= grid_min_freq