How to understand which materialization needs to be used.

at most 55 slices are allowed in a query, current number: 85
HINT: rewrite your query
Getting this error