add forward, backword sums