fix size of allocalled array B