start to generate partition/ elements