Make size type consistent