Removed ToSize() in math extensions.