resolved bug with wrong seldepth output. now result.plys_to_seldepth
contains only the number of plys in seldepth. e.g. (0 for no seldepth)