remove get stack depth method (obsoleted)