SMASH refacto + remove colorbrewer hard dependecy