Maths fix + dynamic higher bar