Ferromagnetic domain distribution in thin films during magnetization reversal