void compare(Stats stats, Image i, int z, int c, int t) throws IOException{
void compare(Stats stats, Image i, int z, int c, int t) throws Exception{
    void compare(Stats stats, Image i, int z, int c, int t) throws IOException{        stats.g_start();        byte[] g_arr = Gateway.getPlane(i.id, z, c, t);        stats.g_stop();        assertFalse(g_arr.length == 0);        stats.b_start();        byte[] b_arr = io.getPlane(i.id, z, c, t);        stats.b_stop();        assertFalse(b_arr.length == 0);        assertTrue(g_arr.length == b_arr.length);        stats.update();        System.err.println("Slowdown:"+stats.s_times.get(stats.last()-1));    }