exactly size HashMap and rename Rectangle.in to Rectangle.contains