Fix bug that users are able to input 0 when adding dimensions per packages