use odd length window and discard rightmost value