reworked the ensure method. The unwanted decimals are now extracted before the contains is done