Modifications to mongodb recipe to facilitate all aspects clustering