Fix low efficiency problem.