modified localized correlationfit