naming of methods: sealing, initial etc make mode come first speed up JS version (maybe use ArrayBuffer or something?)