Fixed hillE2 to accept any size of K