In paper we propose novel method for automatically generating an efficient state-variable representation from the propositional representatation for planning domain.