Added logic to reduce the amount of numbers in the clean margin object that is being returned