aligned bytearray constructor to match cpython behaviour