fixed bug in initializing constant dist. under RTA