revmoed debug
normalize number of demanded input to multiples of 32