allowed an integer coordinate variable

if level is specified as a float, use the value,
but check if the coordinate variable is integer along the way