Patch drop: Rework MEM rtx_costs