pks and odds.bmk

replacing for loops for pks and odds.bmk