JL: build_B about 10x faster. Better, but not fantastic

Waiting for Chase to finish new python version and then
I'll translate it