improved Internal Queue for INPLACE (multiple recursive calls)