Fixed error on iteration bounds
Expanded opts