Refactored too complex ColorsClusterer#call method