Scan generate: add possibility to give a partitionning object