# Simplify a list using path mapper while path_count is not fixed

Hi,
I am trying to simplify a data tree suing path mapper, the problem is the number of input branches is not fixed, so I need something adaptive, I imagined some formula like in the picture, but it doesn’t work, not sure if it’s even possible to do in path mapper
blue line: number of paths changes for different cases, so I can’s use fixed formula, I need a way to write the formula and make adaptive