Use ArrayList instead of LinkedList when all flags are specified in
constructor.