use zero size instead of invalid size for minimum