Solved small bug in registration where extent was splitted incorrectly