fixing rectangularpyramidsensorvolume