refactored coord handling and changed multiblock layout