span.size() returns an uint, causing a signed/unsigned comparison using 3u sidesteps the issue
make format