continue instead of break on empty children when building full tree