change initial maxsub definition