adjust scale of node size to logarithmic scaling with some modifications that seem to work nicely