Fix 4-d cube reading