Updated construction of IntPoly size limits in several demo programs.