bug fix vector minitree