Use short instead of int for partnerRank