UNQ_C4 all test passed, but displays different B_sub

I passed all the test for UNQ_C4, but the B_sub displays the matrix differently.
My B_sub is all zero. I checked the whole B and all the elements after 45th column are zero. Can anyone help me with this issue?

Solved! I set the wrong range for j.