Add scan for optimal adjust part 4