optimized stuff-jewels-fast