How to set a minimal size of a component?

I’ve a big square and a little square.
I need to set the minimal size of the bigger square as the little square size.
But when i use =smallest, i cant resize my bigger square
i else tried IF(LenX<LittleSquare!LenX,LittleSquare!LenX,Lenx)
But started a circular reference


You use Current(“attribute”) but need to change the result to cm (current returns inches)

how to get results between or outside, min or max
to use Current.skp (19.3 KB)