Size effects of switching fields of thin Permalloy particles