Nesting problem (geometric optimization)