Use padding variable instead of 16