tweak
implement buffer slicing and memory optimization
benchmark buffer memory usage as part of the unit-test