Improve malloc to optimize for small chunks