work around cython interface issue (float32 vs 64)