correct upper bound for maximum number of labels for 8-way connectivity

bugfix