simplified impl of zipSum