Added support for longer strings

Added methods to allow the synthesiser to return input streams for longer strings.