Squashed strings which are repeated more than once

Fixes #30