make minor change to kma_bud to improve performance (get buddy location with xor instead of branching and adding)