--added suppert for tex 4096*4096