Using the method of maximizing deviation to make decision for multiindices