Update methods to use new field nad parameter.
Add debug logging,
Allow different box sizes, depending on the flow values.