changed SSD Optimization for LGS accumulation - faster, but equivalent to before (apart from numerical stuff)