added -fast command line option to avoid recalculating dependencies