Fix basic constraints check, output key size