private void handleMap(Rectangular rectangular, int height) {
        Integer t = input.get(rectangular);
        if (t == null || height > t) {
            input.put(rectangular, height);
        }
    }