fixed demo11 so k range is okay
(#305)