simplify bsarray