Clean up unused param.
Measure the actual dimensions.
Include actual icon size when measuring.