reduce now with abitrary bin operation