more DRY: Add #define support to factorize constants
(especially for sharing array capacity)
+ also bugfix #1