Microplanning: minor bug fixes

And uses the weights info from SuReal.
Thanks.