fixed height issue for larger subclass graphs