Optimized Packings with Applications