Allow dimensions bigger than Int