The dependence of the emission size on the hadron mass