An implementation of region based memory management.