make medium dimensions a tuple