Extragalactic astronomy

An astronomer estimates a cluster's mass from galaxy velocity dispersion using the virial theorem. Which condition is most important for interpreting that estimate reliably?