Added functionality to handle half.width parameter