rows = d3.range(Math.max(0, Math.floor(-origin[1])), Math.max(0, Math.ceil(
        size[1] / k - origin[1])));