How to divide curve unevenly?

hello everyone,
im trying to use divide curve on a rectangle to get bunch of points.
however, i want four corners of the rectangle to have more points.

which component do i have to use in order to achieve;
having more points on the selected area of the curve?

so far this is what ive done after googling.
by using mass addition and eval length, i was able to populate points along the curve.
however, i dont want to type the distance of every point.

drawing that i did with red pen is what i eventually want to make.
please let me know if there is any question.

Or like this…
I have added an option to Cull MidPt if needed.
If you play arround with graphs you can have inverted gradient > less density on corners…

Curve_Uneven_Divide.gh (12.9 KB)