 // MARK: - Utility
 
     func mergeImages(images: [UIImage!], toImageWithSize size: CGSize, andOffset offset: CGFloat) -> UIImage! {
-        UIGraphicsBeginImageContext(size)
-        var idxDec: CGFloat = CGFloat(images.count)
+        UIGraphicsBeginImageContextWithOptions(size, false, 2.0)
+
+        var idxDec: CGFloat = CGFloat(images.count - 1)
         var idxInc: CGFloat = 0
         for img in images.reverse() {
-            let newOrigin = CGPoint(x: idxDec * offset, y: idxInc * offset)
-            let newWidth = size.width - (offset * 2 * idxDec)
+            let newOrigin = CGPoint(x: idxDec * offset, y: idxInc * offset + 0.5)
+            let newWidth = size.width - (offset * 2 * idxDec) - 0.5
             let newSize = CGSize(
                 width: newWidth,
                 height: newWidth
             )
-            img.drawInRect(CGRect(origin: newOrigin, size: newSize))
+            let rect = CGRect(origin: newOrigin, size: newSize)
+            img.drawInRect(rect)
+
+            let context = UIGraphicsGetCurrentContext();
+            CGContextSetShouldAntialias(context, false)
+            CGContextSetStrokeColorWithColor(context, UIColor.whiteColor().CGColor)
+            CGContextStrokeRectWithWidth(context, rect, 0.5)
+            CGContextSetShouldAntialias(context, true)
             idxInc++
             idxDec--
         }

import Photos

let albumCellIdentifier = "albumCellId"
let albumRowHeigth = CGFloat(70.0)


protocol RMAssetSelectionDelegate {

        phFetchOptions.predicate = NSPredicate(format: "estimatedAssetCount > 0")
        self.collectionsFetchResult = PHAssetCollection.fetchAssetCollectionsWithType(PHAssetCollectionType.Album, subtype: PHAssetCollectionSubtype.Any, options: phFetchOptions)

    }

    func cancelImagePicker() {
