rdj assembly, fix depthcutoff computation