Criterion of applicability of the moving boundary model