Added z-order aknn