ProcGUI: refactor head contours to precompute weights