Remove st1 and st2 temporary buffers in backward_filter() and use instead