Checking and conversion on hyperslab assignment (fix #34)