top: get rid of on-stack variable buffers, use permanent one.