Changed per host task count from code constant to preprocessor constant