Partial stack buffer for shape. Relaxed manual memory allocations. Improvement of shared- and uniqe_ptr. Using of 'reserve' in TileMap.