Constraining the shape of a gravity anomalous body using reversible jump Markov chain Monte Carlo