Add inbound edges while building the graph
Build finishing time array without maintaining a counter