def _res_heur(data, *args, **kwargs):
    """
    Returns, for the given data, the heuristic determining the
    resolution of the voxel grid and correspondingly, how many
    points get hashed to the same value.
    """
    return 3 * len(data) ** 0.33333333