Fix buffer maangement
Reverse correlation over buffer so there is no blank