refactor: extract backgroundSmooth method