Revert "little optimization"

This reverts commit da73993c664a135b86143f8f6e9916d9c0f57ec7.
added getMaxDependency, not yet integrated
Currently works on all boards except TestNumFlights100.  Scores are as follows:
tangle: 318
tightpack: 228
insanity: 188
insanity with dependencies: 281
connection madness: 250
madness: 113