Refactored detail map and added core image blur