Refactor adding brick rows