stashes old files in unused/, optimizes remaining