Two-dimensional rounding for a quasi-proportional representation