Siegel's lemma with additional conditions