EV purity optimization