Changed getOptimalDegree < to <= in case a full node was exactly the size of the block.