const MAX_QUADS: usize = 16;
This limit was chosen based on the pre-existing GitHub gist. This limit should not be hit in normal operation, but might be hit for very large transforms.