Revert "Revert "trying to change the way buffering works.""

This reverts commit d834772c8dbcb6d4b2368681e9a0bf76579ea43d.
Revert "Revert "removing some of the writes.""

This reverts commit 9d14fb48440164398d6b765b66cbf2d690a62b32.
removing left and right ptr