build_csr sketch.