[refinement] sanitize AMR_bsize for non-existing directions for safer calculations without excessive use of if clauses
Merge pull request #84 from gawrysz/BUGFIX_balance

[cg_list_balance] BUGFIX
Merge pull request #86 from gawrysz/BUGFIX_bogus_AMR_bsize

[refinement] sanitize AMR_bsize
Merge branch 'master' into smart_refine