How to get more then 160 fields in custom doctype?

Did you try add a lot fields in a doctype?
I created about 160 fields and can’t add more.
How can I add more, I need more 50 fields. I reduced length Varchar in mysql but It still not enough.
Please help, thank you.
That’s link relate: