change algorithm in get_daily_parts