Reccurency for depth = 2 works fine