Height calculation for 1 or 2 modules