Loopy BP related change to pass_message code