update heavy path decomposition