I think you have to 3 bet there especially with position. Then, the decision is much easier whether to call or fold for all of your stack. With how you played it I would fold though.