memsize now adjustable