Maxwell decoder for the BEC: allows you to compute the MAP and the BP thresholds of a given degree distribution