recursive generation of draw order by region