v 0.0.1k beta
resize buffer