temporary color solution

We are temporarily using a Brewer color scheme with 12 for the nodes, should
change that in the near future.
Anyway, added a modulo operation to avoid any color bugs.