only generate instances with at most one target per package