jbc_build_N, get_sample_N, jbc_index_N