Add bounding polygon function for use in determining spatial extent

I assume 'cost' is used as a hint to the query optimizer? What happens without it?