Sum by rows and cols with 2-els step