FIXED BUG: the switch statement was missing the breaks This was causing strange behaviour in counts NodeBackground getSize methods and also was making them being too slow