Added maxSize param to run, run helper method