It appears optimize() can't be used with BarPeriod? (& other System Variables?) Is this correct? Are there any other optimize() limitations?