*jni resize complete