removed unnecessary parameters to cuboid and crossboid