factory method for interpreter frames