getting better, fixed heuristic and improved closed vector performance