boxSize adopted