Added interval centric switch and calculations.