The transition from a coherent optical vortex to a Rankine vortex: beam contrast dependence on topological charge