Refine stack slot interval weight computation.