private int DecoupledInStage(Part thePart, int stage = -1)
{
if (IsDecoupler(thePart))
{
if (thePart.inverseStage > stage)
{
stage = thePart.inverseStage;
}
}
if (thePart.parent != null)
{
stage = DecoupledInStage(thePart.parent, stage);
}
return stage;
}