Transformation of a bertso melody with coherence