Research of structural optimal design technique using the quad-trees