added expression evaluator for position and later size
decode now support expressions