Out of curiosity, what's your technique to generate the distribution of numbers per vertex?
At first every vertex have random balance from -4 to 5. Then it add or substract 1 dollar from random vertex one by one until the sum reach it's goal. The goal sum is genus number + or -1, but more than 0.