optimize calculating Unused decls