adding configuration parameter to enable depth infinity support
adopt unit tests for depth infinity