Constructor changes to BinBuffer