Refactor: heap initialization utility
Refactor: heap write utility
AES: equivalent cipher promising up to x3 speedup