position detection of modules and layout improvement