Handle degenerate spantrees with two, one or zero points

This was a part of the crusade against functions failing when the dimensions were smaller than assumed. Most things considered loops that could collapse to 1:0, but this is about degenerate trees.