Moved the changes to enable 3D clustering from the original particle flow block declaration to a customisation function