subtle fix for odd dimensions