Node toReturn=chunkedTDS.buildScene();
    public void convert(InputStream max,OutputStream bin) throws IOException {        s.clear();        myIn=new LittleEndien(max);//        com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.ChunkHeader mainPart=//                new com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.ChunkHeader();//        if (mainPart.type!=MAIN_3DS){//            throw new IOException("Header doesn't match.  Probably not a 3ds file");//        }//        mainPart.length-=6;        chunkedTDS=new TDSFile(myIn);//        s.push(new Node("3ds scene"));//        readFile(mainPart.length);//        Node totalScene=(Node) s.pop();//        new JmeBinaryWriter().writeScene(totalScene,bin);    }