Concave orthogonal polygon to constituent convex polygons

Hey guys!
Is there a plugin/component which takes care of sub-dividing a concave orthogonal polygon into constituent convex polygons, such that the aspect ratio is as close to 1:1 as possible or the least ‘skewed’? I can run loops to find this, but a neat plugin/component will be helpful!

For shapes as simple as the one in your image, it looks like you could do this by first identifying the concave corners (by checking angles between consecutive segments), and projecting onto the other edges. If there are only a handful of options like shown here, you could just check aspect ratios for all of them and select the best one.