optimized division