improve minimal map