Cleaned up avgConnectedSpanForColumnND