added support for single-precision particles