Modified last_day_of_month_perf