Use the correct size checking function