Optimization of a fast deuterium diagnostic method based on visible energetic 3He spectroscopy for high electron density plasmas.