#include <algorithm> in BlockAllocated.h