no need for weightSum when row has one column