Use d3.set for autosettings : reaaally faster, update is now global, create a global computeSettings function, and use strict