first steps of highlight edge at runtime.