bug fix: check len(new.indices) correctly
bug fix: check len(new.indices) correctly

jni/microscopium,microscopium/microscopium,Don86/microscopium,microscopium/microscopium,Don86/microscopium,jni/microscopium