Fixes boundaries of dummy simulator.

Minor touchups to the code.