Only loop over players once.