finish SearchWindow/CostMatrix