Legacy CE vs current

I recently updated a SQL server to current version. I have major performance issue with some query for example this query takes 8 seconds with legacy CE:


But 5 minutes with CE 150:


I updated statistics for the whole DB and run fullscan update to the tables in this query.

Any idea how can I fix this performance issue?

Thanks in advance!