Fix exported contiguous buffers size