buffer: make the left/right space normalization more flexible.