kpm build