Generalized Singleton Type Upper Bounds