Speedup, avoid setting B in each block