Added size constraints for spans.