You have just bought land and want to plant the largest rectangular field possible. While surveying the land you find several obstacles, so you draw a map. In each square of the map you record what the square holds: grass (G), rock (R), water (W), shrubs (S), or trees (T). The grass can be mowed and the shrubs can be dug out of the ground, but the water, rocks, and trees cannot be removed. Given the obstacles that stay, determine the area of the largest rectangular field.
A field is a rectangle whose sides are parallel to the grid of the map, and every square inside it must be grass or shrubs.