make the prediction compatible with very large maps