See attachments, they might not be 100% perfect but it's the easiest and most efficient method I know.File is Photoshop CS6 (Sorry!) I'm uploading a short video right now to explain the method behind this.
Inventlayout