Supply missing argument to choose_heap_size()

Fixes issue #538
Merge pull request #539 from jaredhoberock/issue-538

Supply missing argument to choose_heap_size()