A system to map static indoor envirorments, using mobile robot