IX-9.8.0-PLAT-496 Add a limit to generated addInstanceToPool functions