PL/pgSQL function which computes a large inner rectangle of a PostGIS geometry.