reduced number of chars in localmaxima