Added node cost option