fix memory/logic err in working vector expansion turned up by valgrind
_max_cost for myers alignment