The default sparse-shape threshold should be epsilon, not 0, so that 0 norm makes shape zero.