try using transferable objects with web workers