fixed print_as_sparse with use_cse=False