Restore behavior of using segment count for depth
Prepare 0.3.0 release