fixed double sum