Add degenerate option for dimensions