Small, Fast and Versatile: Cost-Effective Tablet Compression