merge time windows