Fix unitialized array in BStream