malloc hash a bit better