tweaking buffer sizes and offsets