An Improved Algorithm for Anchor Shot Detection