package body Shapes is
   procedure Grow (S : in out Shape; By : Integer) is
   begin
      if S.Side + By > 10 then
         raise Too_Big;
      end if;
      S.Side := S.Side + By;
   end Grow;
   overriding procedure Grow (S : in out Square; By : Integer) is
   begin
      if S.Side + By > 10 then
         raise Too_Big;
      end if;
      S.Side := S.Side + By;
   end Grow;
end Shapes;
