Accord.Imaging.FastCornersDetector.score C# (CSharp) Method

score() private method

private score ( UnmanagedImage image, IntPoint corner, int offsets ) : int
image UnmanagedImage
corner AForge.IntPoint
offsets int
return int
        private unsafe int score(UnmanagedImage image, IntPoint corner, int[] offsets)
        {
            byte* src = (byte*)image.ImageData.ToPointer();
            byte* p = src + corner.Y * image.Stride + corner.X;

            // Compute the score using binary search
            int bmin = this.threshold, bmax = 255;
            int b = (bmax + bmin) / 2;

            for (; ; )
            {
                int cb = *p + b;
                int c_b = *p - b;

                #region Machine generated code
                if (p[offsets[0]] > cb)
                    if (p[offsets[1]] > cb)
                        if (p[offsets[2]] > cb)
                            if (p[offsets[3]] > cb)
                                if (p[offsets[4]] > cb)
                                    if (p[offsets[5]] > cb)
                                        if (p[offsets[6]] > cb)
                                            if (p[offsets[7]] > cb)
                                                if (p[offsets[8]] > cb)
                                                    goto is_a_corner;
                                                else
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else if (p[offsets[7]] < c_b)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else if (p[offsets[14]] < c_b)
                                                    if (p[offsets[8]] < c_b)
                                                        if (p[offsets[9]] < c_b)
                                                            if (p[offsets[10]] < c_b)
                                                                if (p[offsets[11]] < c_b)
                                                                    if (p[offsets[12]] < c_b)
                                                                        if (p[offsets[13]] < c_b)
                                                                            if (p[offsets[15]] < c_b)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else if (p[offsets[6]] < c_b)
                                            if (p[offsets[15]] > cb)
                                                if (p[offsets[13]] > cb)
                                                    if (p[offsets[14]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else if (p[offsets[13]] < c_b)
                                                    if (p[offsets[7]] < c_b)
                                                        if (p[offsets[8]] < c_b)
                                                            if (p[offsets[9]] < c_b)
                                                                if (p[offsets[10]] < c_b)
                                                                    if (p[offsets[11]] < c_b)
                                                                        if (p[offsets[12]] < c_b)
                                                                            if (p[offsets[14]] < c_b)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                if (p[offsets[7]] < c_b)
                                                    if (p[offsets[8]] < c_b)
                                                        if (p[offsets[9]] < c_b)
                                                            if (p[offsets[10]] < c_b)
                                                                if (p[offsets[11]] < c_b)
                                                                    if (p[offsets[12]] < c_b)
                                                                        if (p[offsets[13]] < c_b)
                                                                            if (p[offsets[14]] < c_b)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else if (p[offsets[13]] < c_b)
                                                if (p[offsets[7]] < c_b)
                                                    if (p[offsets[8]] < c_b)
                                                        if (p[offsets[9]] < c_b)
                                                            if (p[offsets[10]] < c_b)
                                                                if (p[offsets[11]] < c_b)
                                                                    if (p[offsets[12]] < c_b)
                                                                        if (p[offsets[14]] < c_b)
                                                                            if (p[offsets[15]] < c_b)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else if (p[offsets[5]] < c_b)
                                        if (p[offsets[14]] > cb)
                                            if (p[offsets[12]] > cb)
                                                if (p[offsets[13]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        if (p[offsets[10]] > cb)
                                                                            if (p[offsets[11]] > cb)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else if (p[offsets[12]] < c_b)
                                                if (p[offsets[6]] < c_b)
                                                    if (p[offsets[7]] < c_b)
                                                        if (p[offsets[8]] < c_b)
                                                            if (p[offsets[9]] < c_b)
                                                                if (p[offsets[10]] < c_b)
                                                                    if (p[offsets[11]] < c_b)
                                                                        if (p[offsets[13]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else if (p[offsets[14]] < c_b)
                                            if (p[offsets[7]] < c_b)
                                                if (p[offsets[8]] < c_b)
                                                    if (p[offsets[9]] < c_b)
                                                        if (p[offsets[10]] < c_b)
                                                            if (p[offsets[11]] < c_b)
                                                                if (p[offsets[12]] < c_b)
                                                                    if (p[offsets[13]] < c_b)
                                                                        if (p[offsets[6]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            if (p[offsets[15]] < c_b)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            if (p[offsets[6]] < c_b)
                                                if (p[offsets[7]] < c_b)
                                                    if (p[offsets[8]] < c_b)
                                                        if (p[offsets[9]] < c_b)
                                                            if (p[offsets[10]] < c_b)
                                                                if (p[offsets[11]] < c_b)
                                                                    if (p[offsets[12]] < c_b)
                                                                        if (p[offsets[13]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        if (p[offsets[10]] > cb)
                                                                            if (p[offsets[11]] > cb)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else if (p[offsets[12]] < c_b)
                                            if (p[offsets[7]] < c_b)
                                                if (p[offsets[8]] < c_b)
                                                    if (p[offsets[9]] < c_b)
                                                        if (p[offsets[10]] < c_b)
                                                            if (p[offsets[11]] < c_b)
                                                                if (p[offsets[13]] < c_b)
                                                                    if (p[offsets[14]] < c_b)
                                                                        if (p[offsets[6]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            if (p[offsets[15]] < c_b)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else if (p[offsets[4]] < c_b)
                                    if (p[offsets[13]] > cb)
                                        if (p[offsets[11]] > cb)
                                            if (p[offsets[12]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        if (p[offsets[10]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        if (p[offsets[10]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else if (p[offsets[11]] < c_b)
                                            if (p[offsets[5]] < c_b)
                                                if (p[offsets[6]] < c_b)
                                                    if (p[offsets[7]] < c_b)
                                                        if (p[offsets[8]] < c_b)
                                                            if (p[offsets[9]] < c_b)
                                                                if (p[offsets[10]] < c_b)
                                                                    if (p[offsets[12]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else if (p[offsets[13]] < c_b)
                                        if (p[offsets[7]] < c_b)
                                            if (p[offsets[8]] < c_b)
                                                if (p[offsets[9]] < c_b)
                                                    if (p[offsets[10]] < c_b)
                                                        if (p[offsets[11]] < c_b)
                                                            if (p[offsets[12]] < c_b)
                                                                if (p[offsets[6]] < c_b)
                                                                    if (p[offsets[5]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        if (p[offsets[14]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                else
                                                                    if (p[offsets[14]] < c_b)
                                                                        if (p[offsets[15]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        if (p[offsets[5]] < c_b)
                                            if (p[offsets[6]] < c_b)
                                                if (p[offsets[7]] < c_b)
                                                    if (p[offsets[8]] < c_b)
                                                        if (p[offsets[9]] < c_b)
                                                            if (p[offsets[10]] < c_b)
                                                                if (p[offsets[11]] < c_b)
                                                                    if (p[offsets[12]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    if (p[offsets[11]] > cb)
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        if (p[offsets[10]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        if (p[offsets[10]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else if (p[offsets[11]] < c_b)
                                        if (p[offsets[7]] < c_b)
                                            if (p[offsets[8]] < c_b)
                                                if (p[offsets[9]] < c_b)
                                                    if (p[offsets[10]] < c_b)
                                                        if (p[offsets[12]] < c_b)
                                                            if (p[offsets[13]] < c_b)
                                                                if (p[offsets[6]] < c_b)
                                                                    if (p[offsets[5]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        if (p[offsets[14]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                else
                                                                    if (p[offsets[14]] < c_b)
                                                                        if (p[offsets[15]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                            else if (p[offsets[3]] < c_b)
                                if (p[offsets[10]] > cb)
                                    if (p[offsets[11]] > cb)
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else if (p[offsets[10]] < c_b)
                                    if (p[offsets[7]] < c_b)
                                        if (p[offsets[8]] < c_b)
                                            if (p[offsets[9]] < c_b)
                                                if (p[offsets[11]] < c_b)
                                                    if (p[offsets[6]] < c_b)
                                                        if (p[offsets[5]] < c_b)
                                                            if (p[offsets[4]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                if (p[offsets[12]] < c_b)
                                                                    if (p[offsets[13]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                        else
                                                            if (p[offsets[12]] < c_b)
                                                                if (p[offsets[13]] < c_b)
                                                                    if (p[offsets[14]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        if (p[offsets[12]] < c_b)
                                                            if (p[offsets[13]] < c_b)
                                                                if (p[offsets[14]] < c_b)
                                                                    if (p[offsets[15]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                if (p[offsets[10]] > cb)
                                    if (p[offsets[11]] > cb)
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    if (p[offsets[9]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else if (p[offsets[10]] < c_b)
                                    if (p[offsets[7]] < c_b)
                                        if (p[offsets[8]] < c_b)
                                            if (p[offsets[9]] < c_b)
                                                if (p[offsets[11]] < c_b)
                                                    if (p[offsets[12]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[5]] < c_b)
                                                                if (p[offsets[4]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    if (p[offsets[13]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                            else
                                                                if (p[offsets[13]] < c_b)
                                                                    if (p[offsets[14]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                        else
                                                            if (p[offsets[13]] < c_b)
                                                                if (p[offsets[14]] < c_b)
                                                                    if (p[offsets[15]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                        else if (p[offsets[2]] < c_b)
                            if (p[offsets[9]] > cb)
                                if (p[offsets[10]] > cb)
                                    if (p[offsets[11]] > cb)
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[3]] > cb)
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else if (p[offsets[9]] < c_b)
                                if (p[offsets[7]] < c_b)
                                    if (p[offsets[8]] < c_b)
                                        if (p[offsets[10]] < c_b)
                                            if (p[offsets[6]] < c_b)
                                                if (p[offsets[5]] < c_b)
                                                    if (p[offsets[4]] < c_b)
                                                        if (p[offsets[3]] < c_b)
                                                            goto is_a_corner;
                                                        else
                                                            if (p[offsets[11]] < c_b)
                                                                if (p[offsets[12]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        if (p[offsets[11]] < c_b)
                                                            if (p[offsets[12]] < c_b)
                                                                if (p[offsets[13]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[11]] < c_b)
                                                        if (p[offsets[12]] < c_b)
                                                            if (p[offsets[13]] < c_b)
                                                                if (p[offsets[14]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[11]] < c_b)
                                                    if (p[offsets[12]] < c_b)
                                                        if (p[offsets[13]] < c_b)
                                                            if (p[offsets[14]] < c_b)
                                                                if (p[offsets[15]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else
                            if (p[offsets[9]] > cb)
                                if (p[offsets[10]] > cb)
                                    if (p[offsets[11]] > cb)
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[3]] > cb)
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                if (p[offsets[8]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else if (p[offsets[9]] < c_b)
                                if (p[offsets[7]] < c_b)
                                    if (p[offsets[8]] < c_b)
                                        if (p[offsets[10]] < c_b)
                                            if (p[offsets[11]] < c_b)
                                                if (p[offsets[6]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[4]] < c_b)
                                                            if (p[offsets[3]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                if (p[offsets[12]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                        else
                                                            if (p[offsets[12]] < c_b)
                                                                if (p[offsets[13]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        if (p[offsets[12]] < c_b)
                                                            if (p[offsets[13]] < c_b)
                                                                if (p[offsets[14]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[12]] < c_b)
                                                        if (p[offsets[13]] < c_b)
                                                            if (p[offsets[14]] < c_b)
                                                                if (p[offsets[15]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                    else if (p[offsets[1]] < c_b)
                        if (p[offsets[8]] > cb)
                            if (p[offsets[9]] > cb)
                                if (p[offsets[10]] > cb)
                                    if (p[offsets[11]] > cb)
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[3]] > cb)
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[2]] > cb)
                                            if (p[offsets[3]] > cb)
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else if (p[offsets[8]] < c_b)
                            if (p[offsets[7]] < c_b)
                                if (p[offsets[9]] < c_b)
                                    if (p[offsets[6]] < c_b)
                                        if (p[offsets[5]] < c_b)
                                            if (p[offsets[4]] < c_b)
                                                if (p[offsets[3]] < c_b)
                                                    if (p[offsets[2]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[10]] < c_b)
                                                            if (p[offsets[11]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[10]] < c_b)
                                                        if (p[offsets[11]] < c_b)
                                                            if (p[offsets[12]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[10]] < c_b)
                                                    if (p[offsets[11]] < c_b)
                                                        if (p[offsets[12]] < c_b)
                                                            if (p[offsets[13]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[10]] < c_b)
                                                if (p[offsets[11]] < c_b)
                                                    if (p[offsets[12]] < c_b)
                                                        if (p[offsets[13]] < c_b)
                                                            if (p[offsets[14]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[10]] < c_b)
                                            if (p[offsets[11]] < c_b)
                                                if (p[offsets[12]] < c_b)
                                                    if (p[offsets[13]] < c_b)
                                                        if (p[offsets[14]] < c_b)
                                                            if (p[offsets[15]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else
                            goto is_not_a_corner;
                    else
                        if (p[offsets[8]] > cb)
                            if (p[offsets[9]] > cb)
                                if (p[offsets[10]] > cb)
                                    if (p[offsets[11]] > cb)
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[15]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[3]] > cb)
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[2]] > cb)
                                            if (p[offsets[3]] > cb)
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[7]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else if (p[offsets[8]] < c_b)
                            if (p[offsets[7]] < c_b)
                                if (p[offsets[9]] < c_b)
                                    if (p[offsets[10]] < c_b)
                                        if (p[offsets[6]] < c_b)
                                            if (p[offsets[5]] < c_b)
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[3]] < c_b)
                                                        if (p[offsets[2]] < c_b)
                                                            goto is_a_corner;
                                                        else
                                                            if (p[offsets[11]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        if (p[offsets[11]] < c_b)
                                                            if (p[offsets[12]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[11]] < c_b)
                                                        if (p[offsets[12]] < c_b)
                                                            if (p[offsets[13]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[11]] < c_b)
                                                    if (p[offsets[12]] < c_b)
                                                        if (p[offsets[13]] < c_b)
                                                            if (p[offsets[14]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[11]] < c_b)
                                                if (p[offsets[12]] < c_b)
                                                    if (p[offsets[13]] < c_b)
                                                        if (p[offsets[14]] < c_b)
                                                            if (p[offsets[15]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else
                            goto is_not_a_corner;
                else if (p[offsets[0]] < c_b)
                    if (p[offsets[1]] > cb)
                        if (p[offsets[8]] > cb)
                            if (p[offsets[7]] > cb)
                                if (p[offsets[9]] > cb)
                                    if (p[offsets[6]] > cb)
                                        if (p[offsets[5]] > cb)
                                            if (p[offsets[4]] > cb)
                                                if (p[offsets[3]] > cb)
                                                    if (p[offsets[2]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[10]] > cb)
                                                            if (p[offsets[11]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[10]] > cb)
                                                        if (p[offsets[11]] > cb)
                                                            if (p[offsets[12]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[10]] > cb)
                                                    if (p[offsets[11]] > cb)
                                                        if (p[offsets[12]] > cb)
                                                            if (p[offsets[13]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[10]] > cb)
                                                if (p[offsets[11]] > cb)
                                                    if (p[offsets[12]] > cb)
                                                        if (p[offsets[13]] > cb)
                                                            if (p[offsets[14]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[10]] > cb)
                                            if (p[offsets[11]] > cb)
                                                if (p[offsets[12]] > cb)
                                                    if (p[offsets[13]] > cb)
                                                        if (p[offsets[14]] > cb)
                                                            if (p[offsets[15]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else if (p[offsets[8]] < c_b)
                            if (p[offsets[9]] < c_b)
                                if (p[offsets[10]] < c_b)
                                    if (p[offsets[11]] < c_b)
                                        if (p[offsets[12]] < c_b)
                                            if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[3]] < c_b)
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[2]] < c_b)
                                            if (p[offsets[3]] < c_b)
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else
                            goto is_not_a_corner;
                    else if (p[offsets[1]] < c_b)
                        if (p[offsets[2]] > cb)
                            if (p[offsets[9]] > cb)
                                if (p[offsets[7]] > cb)
                                    if (p[offsets[8]] > cb)
                                        if (p[offsets[10]] > cb)
                                            if (p[offsets[6]] > cb)
                                                if (p[offsets[5]] > cb)
                                                    if (p[offsets[4]] > cb)
                                                        if (p[offsets[3]] > cb)
                                                            goto is_a_corner;
                                                        else
                                                            if (p[offsets[11]] > cb)
                                                                if (p[offsets[12]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        if (p[offsets[11]] > cb)
                                                            if (p[offsets[12]] > cb)
                                                                if (p[offsets[13]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[11]] > cb)
                                                        if (p[offsets[12]] > cb)
                                                            if (p[offsets[13]] > cb)
                                                                if (p[offsets[14]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[11]] > cb)
                                                    if (p[offsets[12]] > cb)
                                                        if (p[offsets[13]] > cb)
                                                            if (p[offsets[14]] > cb)
                                                                if (p[offsets[15]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else if (p[offsets[9]] < c_b)
                                if (p[offsets[10]] < c_b)
                                    if (p[offsets[11]] < c_b)
                                        if (p[offsets[12]] < c_b)
                                            if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[3]] < c_b)
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else if (p[offsets[2]] < c_b)
                            if (p[offsets[3]] > cb)
                                if (p[offsets[10]] > cb)
                                    if (p[offsets[7]] > cb)
                                        if (p[offsets[8]] > cb)
                                            if (p[offsets[9]] > cb)
                                                if (p[offsets[11]] > cb)
                                                    if (p[offsets[6]] > cb)
                                                        if (p[offsets[5]] > cb)
                                                            if (p[offsets[4]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                if (p[offsets[12]] > cb)
                                                                    if (p[offsets[13]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                        else
                                                            if (p[offsets[12]] > cb)
                                                                if (p[offsets[13]] > cb)
                                                                    if (p[offsets[14]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        if (p[offsets[12]] > cb)
                                                            if (p[offsets[13]] > cb)
                                                                if (p[offsets[14]] > cb)
                                                                    if (p[offsets[15]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else if (p[offsets[10]] < c_b)
                                    if (p[offsets[11]] < c_b)
                                        if (p[offsets[12]] < c_b)
                                            if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else if (p[offsets[3]] < c_b)
                                if (p[offsets[4]] > cb)
                                    if (p[offsets[13]] > cb)
                                        if (p[offsets[7]] > cb)
                                            if (p[offsets[8]] > cb)
                                                if (p[offsets[9]] > cb)
                                                    if (p[offsets[10]] > cb)
                                                        if (p[offsets[11]] > cb)
                                                            if (p[offsets[12]] > cb)
                                                                if (p[offsets[6]] > cb)
                                                                    if (p[offsets[5]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        if (p[offsets[14]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                else
                                                                    if (p[offsets[14]] > cb)
                                                                        if (p[offsets[15]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else if (p[offsets[13]] < c_b)
                                        if (p[offsets[11]] > cb)
                                            if (p[offsets[5]] > cb)
                                                if (p[offsets[6]] > cb)
                                                    if (p[offsets[7]] > cb)
                                                        if (p[offsets[8]] > cb)
                                                            if (p[offsets[9]] > cb)
                                                                if (p[offsets[10]] > cb)
                                                                    if (p[offsets[12]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else if (p[offsets[11]] < c_b)
                                            if (p[offsets[12]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        if (p[offsets[10]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        if (p[offsets[10]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        if (p[offsets[5]] > cb)
                                            if (p[offsets[6]] > cb)
                                                if (p[offsets[7]] > cb)
                                                    if (p[offsets[8]] > cb)
                                                        if (p[offsets[9]] > cb)
                                                            if (p[offsets[10]] > cb)
                                                                if (p[offsets[11]] > cb)
                                                                    if (p[offsets[12]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else if (p[offsets[4]] < c_b)
                                    if (p[offsets[5]] > cb)
                                        if (p[offsets[14]] > cb)
                                            if (p[offsets[7]] > cb)
                                                if (p[offsets[8]] > cb)
                                                    if (p[offsets[9]] > cb)
                                                        if (p[offsets[10]] > cb)
                                                            if (p[offsets[11]] > cb)
                                                                if (p[offsets[12]] > cb)
                                                                    if (p[offsets[13]] > cb)
                                                                        if (p[offsets[6]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            if (p[offsets[15]] > cb)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else if (p[offsets[14]] < c_b)
                                            if (p[offsets[12]] > cb)
                                                if (p[offsets[6]] > cb)
                                                    if (p[offsets[7]] > cb)
                                                        if (p[offsets[8]] > cb)
                                                            if (p[offsets[9]] > cb)
                                                                if (p[offsets[10]] > cb)
                                                                    if (p[offsets[11]] > cb)
                                                                        if (p[offsets[13]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else if (p[offsets[12]] < c_b)
                                                if (p[offsets[13]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        if (p[offsets[10]] < c_b)
                                                                            if (p[offsets[11]] < c_b)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            if (p[offsets[6]] > cb)
                                                if (p[offsets[7]] > cb)
                                                    if (p[offsets[8]] > cb)
                                                        if (p[offsets[9]] > cb)
                                                            if (p[offsets[10]] > cb)
                                                                if (p[offsets[11]] > cb)
                                                                    if (p[offsets[12]] > cb)
                                                                        if (p[offsets[13]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else if (p[offsets[5]] < c_b)
                                        if (p[offsets[6]] > cb)
                                            if (p[offsets[15]] < c_b)
                                                if (p[offsets[13]] > cb)
                                                    if (p[offsets[7]] > cb)
                                                        if (p[offsets[8]] > cb)
                                                            if (p[offsets[9]] > cb)
                                                                if (p[offsets[10]] > cb)
                                                                    if (p[offsets[11]] > cb)
                                                                        if (p[offsets[12]] > cb)
                                                                            if (p[offsets[14]] > cb)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else if (p[offsets[13]] < c_b)
                                                    if (p[offsets[14]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                if (p[offsets[7]] > cb)
                                                    if (p[offsets[8]] > cb)
                                                        if (p[offsets[9]] > cb)
                                                            if (p[offsets[10]] > cb)
                                                                if (p[offsets[11]] > cb)
                                                                    if (p[offsets[12]] > cb)
                                                                        if (p[offsets[13]] > cb)
                                                                            if (p[offsets[14]] > cb)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else if (p[offsets[6]] < c_b)
                                            if (p[offsets[7]] > cb)
                                                if (p[offsets[14]] > cb)
                                                    if (p[offsets[8]] > cb)
                                                        if (p[offsets[9]] > cb)
                                                            if (p[offsets[10]] > cb)
                                                                if (p[offsets[11]] > cb)
                                                                    if (p[offsets[12]] > cb)
                                                                        if (p[offsets[13]] > cb)
                                                                            if (p[offsets[15]] > cb)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else if (p[offsets[7]] < c_b)
                                                if (p[offsets[8]] < c_b)
                                                    goto is_a_corner;
                                                else
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[13]] > cb)
                                                if (p[offsets[7]] > cb)
                                                    if (p[offsets[8]] > cb)
                                                        if (p[offsets[9]] > cb)
                                                            if (p[offsets[10]] > cb)
                                                                if (p[offsets[11]] > cb)
                                                                    if (p[offsets[12]] > cb)
                                                                        if (p[offsets[14]] > cb)
                                                                            if (p[offsets[15]] > cb)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[12]] > cb)
                                            if (p[offsets[7]] > cb)
                                                if (p[offsets[8]] > cb)
                                                    if (p[offsets[9]] > cb)
                                                        if (p[offsets[10]] > cb)
                                                            if (p[offsets[11]] > cb)
                                                                if (p[offsets[13]] > cb)
                                                                    if (p[offsets[14]] > cb)
                                                                        if (p[offsets[6]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            if (p[offsets[15]] > cb)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else if (p[offsets[12]] < c_b)
                                            if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        if (p[offsets[10]] < c_b)
                                                                            if (p[offsets[11]] < c_b)
                                                                                goto is_a_corner;
                                                                            else
                                                                                goto is_not_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    if (p[offsets[11]] > cb)
                                        if (p[offsets[7]] > cb)
                                            if (p[offsets[8]] > cb)
                                                if (p[offsets[9]] > cb)
                                                    if (p[offsets[10]] > cb)
                                                        if (p[offsets[12]] > cb)
                                                            if (p[offsets[13]] > cb)
                                                                if (p[offsets[6]] > cb)
                                                                    if (p[offsets[5]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        if (p[offsets[14]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                else
                                                                    if (p[offsets[14]] > cb)
                                                                        if (p[offsets[15]] > cb)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else if (p[offsets[11]] < c_b)
                                        if (p[offsets[12]] < c_b)
                                            if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        if (p[offsets[10]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        if (p[offsets[10]] < c_b)
                                                                            goto is_a_corner;
                                                                        else
                                                                            goto is_not_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                            else
                                if (p[offsets[10]] > cb)
                                    if (p[offsets[7]] > cb)
                                        if (p[offsets[8]] > cb)
                                            if (p[offsets[9]] > cb)
                                                if (p[offsets[11]] > cb)
                                                    if (p[offsets[12]] > cb)
                                                        if (p[offsets[6]] > cb)
                                                            if (p[offsets[5]] > cb)
                                                                if (p[offsets[4]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    if (p[offsets[13]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                            else
                                                                if (p[offsets[13]] > cb)
                                                                    if (p[offsets[14]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                        else
                                                            if (p[offsets[13]] > cb)
                                                                if (p[offsets[14]] > cb)
                                                                    if (p[offsets[15]] > cb)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else if (p[offsets[10]] < c_b)
                                    if (p[offsets[11]] < c_b)
                                        if (p[offsets[12]] < c_b)
                                            if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    if (p[offsets[9]] < c_b)
                                                                        goto is_a_corner;
                                                                    else
                                                                        goto is_not_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                        else
                            if (p[offsets[9]] > cb)
                                if (p[offsets[7]] > cb)
                                    if (p[offsets[8]] > cb)
                                        if (p[offsets[10]] > cb)
                                            if (p[offsets[11]] > cb)
                                                if (p[offsets[6]] > cb)
                                                    if (p[offsets[5]] > cb)
                                                        if (p[offsets[4]] > cb)
                                                            if (p[offsets[3]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                if (p[offsets[12]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                        else
                                                            if (p[offsets[12]] > cb)
                                                                if (p[offsets[13]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        if (p[offsets[12]] > cb)
                                                            if (p[offsets[13]] > cb)
                                                                if (p[offsets[14]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[12]] > cb)
                                                        if (p[offsets[13]] > cb)
                                                            if (p[offsets[14]] > cb)
                                                                if (p[offsets[15]] > cb)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else if (p[offsets[9]] < c_b)
                                if (p[offsets[10]] < c_b)
                                    if (p[offsets[11]] < c_b)
                                        if (p[offsets[12]] < c_b)
                                            if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[3]] < c_b)
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                if (p[offsets[8]] < c_b)
                                                                    goto is_a_corner;
                                                                else
                                                                    goto is_not_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                    else
                        if (p[offsets[8]] > cb)
                            if (p[offsets[7]] > cb)
                                if (p[offsets[9]] > cb)
                                    if (p[offsets[10]] > cb)
                                        if (p[offsets[6]] > cb)
                                            if (p[offsets[5]] > cb)
                                                if (p[offsets[4]] > cb)
                                                    if (p[offsets[3]] > cb)
                                                        if (p[offsets[2]] > cb)
                                                            goto is_a_corner;
                                                        else
                                                            if (p[offsets[11]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                    else
                                                        if (p[offsets[11]] > cb)
                                                            if (p[offsets[12]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[11]] > cb)
                                                        if (p[offsets[12]] > cb)
                                                            if (p[offsets[13]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[11]] > cb)
                                                    if (p[offsets[12]] > cb)
                                                        if (p[offsets[13]] > cb)
                                                            if (p[offsets[14]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[11]] > cb)
                                                if (p[offsets[12]] > cb)
                                                    if (p[offsets[13]] > cb)
                                                        if (p[offsets[14]] > cb)
                                                            if (p[offsets[15]] > cb)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else if (p[offsets[8]] < c_b)
                            if (p[offsets[9]] < c_b)
                                if (p[offsets[10]] < c_b)
                                    if (p[offsets[11]] < c_b)
                                        if (p[offsets[12]] < c_b)
                                            if (p[offsets[13]] < c_b)
                                                if (p[offsets[14]] < c_b)
                                                    if (p[offsets[15]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[3]] < c_b)
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[2]] < c_b)
                                            if (p[offsets[3]] < c_b)
                                                if (p[offsets[4]] < c_b)
                                                    if (p[offsets[5]] < c_b)
                                                        if (p[offsets[6]] < c_b)
                                                            if (p[offsets[7]] < c_b)
                                                                goto is_a_corner;
                                                            else
                                                                goto is_not_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else
                            goto is_not_a_corner;
                else
                    if (p[offsets[7]] > cb)
                        if (p[offsets[8]] > cb)
                            if (p[offsets[9]] > cb)
                                if (p[offsets[6]] > cb)
                                    if (p[offsets[5]] > cb)
                                        if (p[offsets[4]] > cb)
                                            if (p[offsets[3]] > cb)
                                                if (p[offsets[2]] > cb)
                                                    if (p[offsets[1]] > cb)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[10]] > cb)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[10]] > cb)
                                                        if (p[offsets[11]] > cb)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[10]] > cb)
                                                    if (p[offsets[11]] > cb)
                                                        if (p[offsets[12]] > cb)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[10]] > cb)
                                                if (p[offsets[11]] > cb)
                                                    if (p[offsets[12]] > cb)
                                                        if (p[offsets[13]] > cb)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[10]] > cb)
                                            if (p[offsets[11]] > cb)
                                                if (p[offsets[12]] > cb)
                                                    if (p[offsets[13]] > cb)
                                                        if (p[offsets[14]] > cb)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    if (p[offsets[10]] > cb)
                                        if (p[offsets[11]] > cb)
                                            if (p[offsets[12]] > cb)
                                                if (p[offsets[13]] > cb)
                                                    if (p[offsets[14]] > cb)
                                                        if (p[offsets[15]] > cb)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else
                            goto is_not_a_corner;
                    else if (p[offsets[7]] < c_b)
                        if (p[offsets[8]] < c_b)
                            if (p[offsets[9]] < c_b)
                                if (p[offsets[6]] < c_b)
                                    if (p[offsets[5]] < c_b)
                                        if (p[offsets[4]] < c_b)
                                            if (p[offsets[3]] < c_b)
                                                if (p[offsets[2]] < c_b)
                                                    if (p[offsets[1]] < c_b)
                                                        goto is_a_corner;
                                                    else
                                                        if (p[offsets[10]] < c_b)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                else
                                                    if (p[offsets[10]] < c_b)
                                                        if (p[offsets[11]] < c_b)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                            else
                                                if (p[offsets[10]] < c_b)
                                                    if (p[offsets[11]] < c_b)
                                                        if (p[offsets[12]] < c_b)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                        else
                                            if (p[offsets[10]] < c_b)
                                                if (p[offsets[11]] < c_b)
                                                    if (p[offsets[12]] < c_b)
                                                        if (p[offsets[13]] < c_b)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                    else
                                        if (p[offsets[10]] < c_b)
                                            if (p[offsets[11]] < c_b)
                                                if (p[offsets[12]] < c_b)
                                                    if (p[offsets[13]] < c_b)
                                                        if (p[offsets[14]] < c_b)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                else
                                    if (p[offsets[10]] < c_b)
                                        if (p[offsets[11]] < c_b)
                                            if (p[offsets[12]] < c_b)
                                                if (p[offsets[13]] < c_b)
                                                    if (p[offsets[14]] < c_b)
                                                        if (p[offsets[15]] < c_b)
                                                            goto is_a_corner;
                                                        else
                                                            goto is_not_a_corner;
                                                    else
                                                        goto is_not_a_corner;
                                                else
                                                    goto is_not_a_corner;
                                            else
                                                goto is_not_a_corner;
                                        else
                                            goto is_not_a_corner;
                                    else
                                        goto is_not_a_corner;
                            else
                                goto is_not_a_corner;
                        else
                            goto is_not_a_corner;
                    else
                        goto is_not_a_corner;

                #endregion

            is_a_corner:
                bmin = b;
                goto end_if;

            is_not_a_corner:
                bmax = b;
                goto end_if;

            end_if:

                if (bmin == bmax - 1 || bmin == bmax)
                    return bmin;

                b = (bmin + bmax) / 2;
            }
        }