adding drop CAP logic in ADT and global live analysis. finish basic logic, needs heavy testing.