split long text into small pieces.