set slider k from 0 to 25 instead of 0 to 50