Why are you factoring out cb_l? I think it makes the for loop longer/harder to read.