heating script and constrained coordinates