@slava77, I tried changing them to 'float' as well. However, it caused a segmentation fault. I spent few minutes trying to fix it, but weren't able to locate where the segmentation fault occurred. I will try to fix it again and make another PR before 7_1_0_pre8.