Why a copy? Maybe a reference is enough: ```MeshLib::Node const& min = ...```. The same holds for next line.