updated heap stuff

i'm still shit at coding lol