Long type fixed along the whole project - TODO Relation.java fix the
TODO --> temp <= upperBound is not correct!!! not enough!!! to fix it!!!