pass shape data in getMetrics (good for debugging purposes)