The figure above shows how the length of stable orbit varies for planet B in the HR8799 solar system as the mass of the planet and the starting position are varied as a multiple of their 'best estimate' values.