Mapping over rows should be much faster