Fixed node size scaling with tech restrictions

When not all of the potential scales have been unlocked in the tech tree
incorrect node sizes were being selected for use.

This seems to fix the problem, however I didn't look deeply enough to fully understand the maths this line is doing, so please double check the change makes sense.