update for poj1639,k degree limit spanning tree