- Optimized shape_get_def for when obj shape is known