changed width and height by half