* Bar options should not be defined on scale * Improve minimization * Add tests * Multiple datasets in test