Cast where explicitly necessary and in other cases we can simply modify the algorithm to accomodate larger data.