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

[refinement] sanitize AMR_bsize