added conditional bundle optimization