def _fragment(div, eps):
    """Create a list of grids."""
    grids = []
    for lat in range(div):
        for log in range(div):
            init = [1.0 / div * lat, 1.0 / div * log]
            end = [1.0 / div * (lat + 1) + 2 * eps, 1.0 / div * (log + 1) +
                2 * eps]
            end2 = [1.0 / div * (lat + 1), 1.0 / div * (log + 1)]
            grids.append([init, end, end2])
    return grids
