Drawing of bounds without using HashMap of shape