issue #10: variable boundaries and step might be given as constant or constant function