A worse go implimentation of fastresize.rb
allow specification of maxsize and defaultsize
Revert "A worse go implimentation of fastresize.rb"

This reverts commit c4bd4f8a60f9bbd5559d45287d6189c0a03c6717.