You commit no error by divorcing the women before touching them, or before setting the dowry for them. In this case, you shall compensate them - the rich as he can afford and the poor as he can afford - an equitable compensation. This is a duty upon the righteous.