Abstracted cap push downsampling factor to #define