Make memory_alloc use the whole block when the remaining size can't hold a free block