implement stage 2 of l/s buffer