Keopuolani was Kam's niece via Kam's father's (Keouanui's) other side-consort Kalolapupuka.  Kalola was the high royal sister of Maui's king with whom she had birthed her sacred Kekumanomanookekapu.  From Keouanui and Kalola came Liliha.  Also, from Kalaniopuu and Kalola came Kiwalao.  From half-brother and sister Liliha and Kiwalao came Keopuolani....aka the niece of Kam (Pai'ea).  Keopuolani was not high born due to Big Island, but instead the Oahu/Kauai royal line ruling Maui.  Only via Keopuolani was low-level Kam able to endow his sons Liholiho and Kauikeaouli with a slightly higher birthright to become Kam II and Kam III.  This Kam line had problems from the beginning.