pool example depth = 5