More correct rating rounding and a little optimization