djoker
LEAF does not create connections between nodes automatically,
so you have to manually fill NextNode and Distance arrays for every
node that you create.