improve SegmentalByteBuffer, use embedded class member instead of pointer