make max_connect static as in the original diffreg.c This way we grow the array instead of doing 64 <<= 1.