fix setting of max size
update docs
up version