Added cuboid area support
Removed trace and change a bug in events