fixed bug in mapstitch (uninitialized boolean)