Added comments to receivebysize method