Fix size issue - half input size so final size is equal to input size (or +1)