break out the edges computation from liquid-resize
Explain what each parameter does.