Implements a more robust edges dissolution correction