Changed the truncation of the input to just drop the last item, rather than asusming 50 values