Replaced B-array with in-place computation in march.frag.