attempt to assure that select operation will not trigger stack overflow.