Generate new instances with flag and quantity of markers