added relative dispersion and hopefully sped it up a bit