Revert "attempt to fix issue with empty dims entries. related to issue #28"

This reverts commit ff83ccb281e5a15cd45437904f05a2eb3fbe32b8.
Revert "Attempt to fix problem reported by Arne in issue #28"

This reverts commit dba5f1e3a742cb7e6f0972d29e9e98ae9d9b8217.