idRemapping, now ensures that item and user ids are in int range
Added method to map userIDs and itemIDs into int range