[UPDATE] README. Check that `k` is an integer. [TEST] `k` is integer.