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