change rating rate from angle and line lengths