revert a change to ks_resize()

due to a mistaken merge