partial finish SearchWindow/CostMatrix
patial finish searchwindow/costmatrix