time PDA2 and toposort separately