allocating portal arrays.
find_shortest_path now uses cached portals.
tesselating arcs.
trinagulate: outputs only unique portals now, portals cache overflow handled.
find_shortest_path: removed unneeded apex_idx.