added linkCost code to iScissor.cpp [NOT WORKING]