Added function to determine pot size.