Revert "Scan generate: add possibility to give a partitionning object"

This reverts commit c5c0f4f6a4ebec81cdc772001002b4ae76301321.