analysis: rect cost compare typo fix for pmode