Allow programs to define a max other than 10