add comments, improve code order
add comments, improve code order

datamade/represent-boundaries,opencorato/represent-boundaries,opencorato/represent-boundaries,opencorato/represent-boundaries,datamade/represent-boundaries,datamade/represent-boundaries