Switching to function length sniffing