fixed prg again to generate inclusive bounds. this was accidentally reverted in 03beb4087de85d69d3c216664d5d48045621d2da