Pass maxDepth in
Add interface for quantisers