Completed PeriodSet. Speed of operations could be improved.