but the math got too confusing to make it much smaller