Clean marker based optimization