Polymerization of dual cured composites by different thickness