building jumplist
fix bugs for build_perfect_jumplist() and contains() methods