Rectangular grid with different steps

Good afternoon! When I use rectangular grid with regular steps for creating points it’s ok, but sometimes I need creating rectangular grid with irregular steps.
I’m stuck on this task.
Any ideas?
Thank you for any help.
240607_rect grid with different steps.gh (14.4 KB)

Something like this?


VariableGridStep.gh (13.2 KB)