mini: optimized to draw_border() part, safes 30 bytes