add prototype size limit.