optimize with inline single float