Compare minimal depth and vimp

And add some tests…