improve value rank calculation
chart improvements