Fixed memory addresses and deep pointer

These addresses and pointers should work in all eventualities now
(hopefully)