Simplified handling of brick stack positioning and rotation, part of response to code review, see #3.