Comparing with PAM cost