[#349] updated the example to use the setBounds function
[#349] set the default bounds values to Infinity