Optimize pie color selection