Passing a proper ArrayBuffer to the measures, not a view over it (it worked only on OSX)