changed space dimensions to allow floating point