Estimate using edges JNI bindings