Used sjcl dewindowize and digitize