public void mouthCornerRight()
    {
        float dis = inner2.y-ar.y;
        dis=Math.abs(dis);
        
        Point p=ar;
        int n= list.indexOf(p);
        System.out.println("\n\n\n "+(ar.y-dis)+" "+ar.y);
        Point t = (Point)list.get(n-20);
        //System.out.println(t.x+" "+t.y+" "+t.z);
        System.out.println(ar.x+" "+ar.y+" "+ar.z+"\n"+list.indexOf(t)+"\n");
        for(int i=n-20;i>0;i--)
        {
            Point k = (Point)list.get(i);
            
            //float d1 = t1.z-t.z;
            //System.out.println("hi");
            //d=Math.abs(d1);
            //System.out.println(k.x+" "+k.y+" "+k.z +" "+list.indexOf(k));
            if(k.x<ar.x+5.5 && k.x>ar.x  && k.y>(ar.y-dis))
            {
                //System.out.println();
                System.out.println(t.x+" "+t.y+" "+t.z +" "+list.indexOf(t)+" "+(k.z-t.z));
                //System.out.println("\nNew point\n"+t.y+" "+t.z +" "+list.indexOf(t)+"\n");
                
                //System.out.println(k.y+" "+k.z +" "+list.indexOf(k));
                
                //System.out.println(t.z-k.z);
                if((t.z-k.z)>2.0 && t!=(Point)list.get(n-20))
                    break;
                t=k;
                
            }
            if(t.y>0)
                break;
        }
        
        System.out.println("\nRange");
        System.out.println(t.y+" "+t.z +" "+list.indexOf(t));
        float min=1000;
        Point m=null;
        for(int i=0;i<list.size();i++)
        {
            Point t1 = (Point)list.get(i);
            if(t1.x<t.x+20 && t1.x>t.x && t1.y<t.y && t1.y>t.y-10 && t1.x>inner2.x+3)
            {
                //System.out.println("in if..");
                if(t.z<min)
                {
                    min = t1.z;
                    m=t1;
                }
            }
        }
        
        System.out.println("\n"+m.x+" "+m.y+" "+m.z +" "+list.indexOf(m));
        mouthr=m;
    }